<%@ page language="java" contentType="text/html; charset=EUC-KR"
    pageEncoding="EUC-KR"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<body>
	
	<form id="list" method="get">
		court name
		<input type="text" name="courtName" />
		<input type="submit" value="query"/>
	</form>
	
	<table border="1" >
		<tr>
			<th>Name</th> <th>Phone Number</th><th>Email</th><th>delete</th>
		</tr>
		<c:forEach items="${studentInfo}" var="guest">
			<tr> 
				<td>${guest.name }</td>
				<td>${guest.phone_num }</td>
				<td>${guest.email }</td>
				<td><a href="remove?memberName=${guest.name }">remove</a></td>
			</tr>
		</c:forEach>
	</table>
</body>
</html>